<template>
  <div id="nav">
    <router-link to="/">Home</router-link> |
    <router-link to="/preview">Preview</router-link> |
    <router-link to="/editor">CkEditor</router-link>
  </div>
  <router-view/>
</template>

<style lang="less">
#nav {
  padding: 30px;
  text-align: center;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
